package xkp.lesson.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xkp.lesson.entity.OrderInfo;
import xkp.lesson.mapper.OrderInfoMapper;

import java.math.BigDecimal;

@Service
public class OrderInfoService {

    @Autowired
    private OrderInfoMapper orderInfoMapper;

    public OrderInfo selectById(BigDecimal id){
        return  orderInfoMapper.selectByPrimaryKey(new BigDecimal(1));
    }
}
